/**
 * @copyright Copyright (c) 2023..
 *
 * @file    filemanagercommand.h
 * @brief   描述 文件管理控制接口
 * @author  HC(202206728@any3.com)
 * @version 1.0
 * @date    2023-09-27
 */
#pragma once
#include <map>
#include <vector>
#include <functional>
#include "eventcommand.h"
#include "filemanager.h"
#include "public_define.h"

using namespace DcAdr;
using namespace fileRegion;
using namespace std;

namespace DcAdr
{

    class FileManagerCommand : public EventCommand
    {
    public:
        FileManagerCommand();
        ~FileManagerCommand();
        static FileManagerCommand *getInstance();
        // void init(adrSystem_component* padrsystemcom);

        void setFileManagerCfgPath(string fileManagerCfgPath);

        string saveFile(int level, string fileName);
        void delFileUploadSuccess(string fileName);

    private:
        static L3FileManager m_l3FileManagerInstance;//静态的，log显示再最开始就初始化了？
    };
}